//
//  HLHomeListMatchModel.m
//  YueYue
//
//  Created by hulu001 on 2023/5/25.
//

#import "HLHomeListMatchModel.h"

@implementation HLHomeListMatchModel

- (instancetype)initWithTitle:(NSString *)title icon:(NSString *)icon spot:(HLHomeListMatchSpot)spot
{
    if (self = [super init]) {
        self.title = title;
        self.icon = icon;
        self.cellSpot = spot;
    }
    return self;
}


+ (NSArray<HLHomeListMatchModel*> *)cellWithMatch
{
    HLHomeListMatchModel *fate = [[HLHomeListMatchModel alloc] initWithTitle:@"缘分速配" icon:@"match_fate_icon" spot:HLHomeListMatchSpotFate];
    HLHomeListMatchModel *gold = [[HLHomeListMatchModel alloc] initWithTitle:@"黄金30秒" icon:@"match_gold_icon" spot:HLHomeListMatchSpotGold];
//    HLHomeListMatchModel *night = [[HLHomeListMatchModel alloc] initWithTitle:@"夜间匹配" icon:@"match_night_icon" spot:HLHomeListMatchSpotNight];
//    HLHomeListMatchModel *label = [[HLHomeListMatchModel alloc] initWithTitle:@"标签匹配" icon:@"match_label_icon" spot:HLHomeListMatchSpotLabel];
    return @[fate, gold];
    
}

+ (NSArray<HLHomeListMatchModel*> *)cellWithFoodMatch
{
    HLHomeListMatchModel *fate = [[HLHomeListMatchModel alloc] initWithTitle:@"今日推荐" icon:@"match_fate_icon" spot:HLHomeListMatchSpotFate];
    HLHomeListMatchModel *gold = [[HLHomeListMatchModel alloc] initWithTitle:@"每周餐单" icon:@"match_gold_icon" spot:HLHomeListMatchSpotGold];
    HLHomeListMatchModel *night = [[HLHomeListMatchModel alloc] initWithTitle:@"夜跑" icon:@"match_night_icon" spot:HLHomeListMatchSpotNight];
    HLHomeListMatchModel *label = [[HLHomeListMatchModel alloc] initWithTitle:@"常见轻食" icon:@"match_label_icon" spot:HLHomeListMatchSpotLabel];
    return @[fate, gold, night, label];
}


@end
